
<layout name="Layout/layout" />
<script type="text/javascript">
	function tourl(id){
		window.location.href="/Home/Index/show/id/"+id;
	}
</script>
<div class="container">
	<ol class="breadcrumb" style="margin-top:1.428rem;margin-bottom: 1.428rem; ">
		<li><a href="{:U('Index/index')}">首页</a></li>
		<li><a href="{:U('index/index',array('cl'=>$data['goodsclass'] ))}">{$data.goodsclass}</a></li>
		<li>{$data.goodsname}</li>
	</ol>
</div>
<div class="main container bg-white">
	<br>
	<div class="col-md-4 showimg">
		<img src="{$data.goodsimg}" alt="{$data.goodsname}"  class="img-responsive">
	</div>
	<div class="col-md-8">
		<div class="page-header ">
			<h3 class="text-muted">
				{$data.goodsname}
			</h3>
			<div class="text-muted">
				<div class="col-xs-6 text-success" style="font-size: 1.25rem;"><span class="glyphicon glyphicon-time" aria-hidden="true"></span> 开始：{$data.goodsstar}</div>
				<div class="col-xs-6 text-right text-danger" style="font-size: 1.25rem;"><span class="glyphicon glyphicon-time" aria-hidden="true"></span> 结束：{$data.goodsend}</div>
				<div class="clearfix"></div>
			</div>
		</div>
		<div class="text-muted">
			<div>
				<div class="pull-left">商品类型：{$data.goodsclass}</div>
				<div class="pull-right">平台类型：{$data.goodsshopclass}</div>
				<div class="clearfix"></div>
			</div>
		</div>
		<div class="ticked">
			<div class="col-md-8 col-md-offset-2 col-sm-12 col-xs-12">
				<div class="col-sm-6 col-xs-12">
					<a class="btn btn-danger btn-lg btn-block" href="{$data['goodsticketshare']}" target="_blank">先领券 <br>{$data.goodsticket}</a>
				</div>
				<div class="col-sm-6 col-xs-12">
					<a class="btn btn-warning btn-lg btn-block" href="{$data['goodslink']}" target="_blank"> 去 {$data.goodsshopclass} 店铺<br>优惠购买</a>
				</div>
				<div class="clearfix"></div>
			</div>
			<div class="clearfix"></div>
			<div class="text-muted text-center" style="margin-top: 3.571rem;">
				<div class="page-header"><h5>如果您使用微信,在出现长网址提示时,可点击右上角 三个点 ,选择 "其他浏览器" 打开</h5></div>
				温馨提醒： 先领券，再下单，请注意 <span class="text-danger">优惠券有效期</span>。
			</div>
		</div>
	</div>
	<div class="clearfix"></div>
	<div class="col-md-6 col-md-offset-3 toIndex">
		<a href="{:U('Index/index')}" class="btn btn-info btn-block btn-lg">猫券网 天天优惠关 查看 >></a>
		<a href="{:U('Index/rush')}" class="btn btn-danger btn-block btn-lg">猫券网 淘抢购 立即去抢 >></a>
		<a href="{:U('Index/group')}" class="btn btn-success btn-block btn-lg">猫券网 特惠优品  9.9元包邮 20元封顶等  >></a>
		<a href="" class="btn btn-block btn-lg"><!-- JiaThis Button BEGIN -->
<div class="jiathis_style_32x32 pull-right" >
	<a class="jiathis_button_weixin"></a>
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_fav"></a>
	<a class="jiathis_button_cqq"></a>
	<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
</div>
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END --></a>
	</div>
	<div class="clearfix"></div>
	<div class="col-md-12">
		<h4 class="page-header"> <strong>同类商品推荐</strong></h4>
		<div class="row">
			<div class="shopinfo">
				<foreach name="goods" item="vo">
					<div class="col-xs-6 col-md-4 col-lg-3 ">
						<div class="thumbnail">
							<div class="thisimg">
								<div class="imgtitle text-center">
									{$vo['goodsticket']}
								</div>
								<img src="{$vo.goodsimg}" alt="{$vo.goodsname}"  onclick="tourl({$vo['id']})" class="getImgWidth">
							</div>
							<div class="caption">
								<p class="text-warning" style="font-size: 1.12rem;"  onclick="tourl({$vo['id']})"> {$vo.goodsname|mb_substr=###,0,28,'utf-8'}</p>
								<div class="row text-muted ">
									<div class="col-xs-6"><span class="glyphicon glyphicon-time" aria-hidden="true"></span> {$vo.goodsend}</div>
									<div class="col-xs-6 text-right">月销量：<span class="text-muted" >{$vo.goodsmoonsum}</span></div>
									<div class="clearfix"></div>
								</div>
								<div class="price-title">
									<div class="pr-info">
										价格： <span class="text-danger" style="font-weight: bold; font-size: 1.142rem;">￥{$vo.goodsprice}</span>
									</div>
									<div class="pr-info text-right">
										<a class="btn btn-danger btn-xs" href="{$vo['goodsticketshare']}" target="_blank">先领券</a> 
										<a class="btn btn-warning btn-xs" href="{$vo['goodslink']}" target="_blank">再购买</a>
									</div>
								</div>
							</div>
						</div>
					</div>
				</foreach>
				<div class="clearfix"></div>

			</div>

		</div>
	</div>
</div>
